<template>
  <view class="content">
    <view class="menu-l-wrap">
      <view class="menu-i" @tap="onRedirectPage">
        <view class="menu-t">客服电话1</view>
        <view class="menu-v">区号-13048958796</view>
        <!-- <image class="icon-g" src="/static/images/ic_go.png" /> -->
      </view>
      <view class="menu-i" @tap="onRedirectPage">
        <view class="menu-t">客服电话1</view>
        <view class="menu-v">区号-13048958796</view>
        <!-- <image class="icon-g" src="/static/images/ic_go.png" /> -->
      </view>
    </view>
    <view class="add">
      <button class="add_btn">+添加电话</button>
    </view>

    <view class="store_btn">
      <button class="btn">提交</button>
    </view>
  </view>
</template>

<script>
export default {
  name: "phone",
  data() {
    return {};
  },
  methods: {
    onRedirectPage() {
      console.log("ohh");
    },
  },
};
</script>

<style lang="scss" scoped>
.content {
  background: #f6f6f6;
  width: 100vw;
  height: 100vh;
  padding: 20rpx 0;
  .menu-l-wrap {
    background: #ffffff;
    margin-top: 1rpx;
    // border-bottom: 1px solid #f6f6f6;
    .menu-i {
      height: 92rpx;
      line-height: 92rpx;
      padding-right: 24rpx;
      margin-left: 24rpx;
      display: flex;
      align-items: center;
      border-top: 1px solid #ededed;
      .icon-b {
        width: 44rpx;
        height: 44rpx;
      }
      .icon-g {
        width: 36rpx;
        height: 36rpx;
      }
      .menu-t {
        flex: 1;
        font-size: 32rpx;
        margin-left: 20rpx;
        color: #333;
      }
      .meun-i {
        width: 410rpx;
        line-height: 46rpx;
        font-size: 32rpx;
        text-align: right;
        color: #333;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      .menu-v {
        font-size: 32rpx;
        color: #999;
      }
      .text_l {
        text-align: left;
        padding-left: 8rpx;
      }

      .menu-logout {
        text-align: center;
        flex: 1;
        font-size: 30rpx;
      }
    }
    .menu-i:first-child {
      border-top: 0;
    }
  }

  .add{
      width: 100%;
      height: 100rpx;
      margin-top: 40rpx;
      background-color: #fff;
      .add_btn{
          width: 100%;
          height: 100%;
          border: none;
          font-weight: 500;
          line-height: 100rpx;
color: #2f80fb;
background-color: #fff;
font-size: 32rpx;
      }
  }

  .store_btn {
    position: fixed;
    bottom: 16rpx;
    left: 50%;
    transform: translate(-50%);
    width: 702rpx;
    height: 80rpx;
    // margin: 200rpx auto 16rpx;
    .btn {
      background: #2f80fb;
      border-radius: 12rpx;
      color: #fff;
      font-size: 32rpx;
      font-weight: 400;
    }
  }
}
</style>
